# 创建时间：2025/4/28 星期一 19:42
# 创建人：李德才

# money = 1000
# s = input("请输入取款金额：")
# s = int(s)
# if s > money:
#     print("取款失败，余额不足")
# elif s < 0:
#     print("取款失败，取款金额必须大于0")
# else:
#     print("取款成功，余额为：", money - s)


score = int(input("请输入分数："))
# if score >= 90 and score <= 100:
if 90 <= score <= 100:  ##  90<=score<=100 等价于 score>=90 and score<=100 , 其他语言不支持
    print("优秀")
elif score >= 80 and score < 90:
    print("良好")
elif score >= 70 and score < 80:
    print("一般")
elif score >= 60 and score < 70:
    print("差")
elif score >= 0 and score < 60:
    print("不及格")
else:
    print("不合法参数")
